﻿using System.Collections;
using System.Collections.Generic;

//------------------------------------------------------------
// shaco Framework
// Copyright © 2017-2021 chang.liu All rights reserved.
// Feedback: 449612236@qq.com
//------------------------------------------------------------

namespace shaco
{
    public interface IUIAnimation
    {
        /// <summary>
        /// 播放UI打开的切换过渡动画
        /// </summary>
        IEnumerator RunUIOpenAnimation();

        /// <summary>
        /// 播放UI关闭的切换过渡动画
        /// </summary>
        IEnumerator RunUICloseAnimation();

        /// <summary>
        /// UI播放中途被打断
        /// </summary>
        void OnUIAnimationBreak();
    }
}